package com.chengqs.rainbow.common.core.exception;

/**
 * <B>主类名称：</B>BaseException<BR>
 * <B>概要说明：</B>enter<BR>
 *
 * @author: chengqs
 * @create: 2025-09-06 20:47:51
 **/
public abstract class BaseException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    Integer errorCode;

    protected BaseException(String message, Throwable throwable) {
        super(message, throwable);
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }
}
